﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;

namespace WeChat.CMS.Attachments
{
    public  class Attachment:CreationAuditedEntity<Guid>
    {
        /// <summary>
        /// 文件名称
        /// </summary>
        [MaxLength(200)]
        public string FileName
        {
            get; set;
        }
        /// <summary>
        /// 文件扩展名
        /// </summary>
        [MaxLength(30)]
        public string FileExtension
        {
            get;set;
        }
        [MaxLength(100)]
        public string BlobName
        {
            get;set;
        }
        [MaxLength(50)]
        public string ContentType
        {
            get;set;
        }
    }
}
